<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // 类数组对象
      const obj = {
        0: "css",
        1: "js",
        2: "html",
        length: 3,
      };
      console.log(Array.from(obj));
    </script>
  </body>
</html>
